package com.ning.user.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@ApiModel(value = "配置模型")
public class Config {

    @ApiModelProperty(value = "配置编号",example = "1")
    private Integer configId;

    @ApiModelProperty(value = "配置名称")
    @NotBlank(message = "配置名称不能为空")
    private String configName;

    @ApiModelProperty(value = "配置信息")
    @NotNull(message = "配置信息不能为空")
    private String configInfo;

    @ApiModelProperty(value = "配置图标")
    @NotNull(message = "配置图标不能为空")
    private String configIcon;

    private Integer configStatus;

    public Integer getConfigId() {
        return configId;
    }

    public void setConfigId(Integer configId) {
        this.configId = configId;
    }

    public String getConfigName() {
        return configName;
    }

    public void setConfigName(String configName) {
        this.configName = configName;
    }

    public String getConfigInfo() {
        return configInfo;
    }

    public void setConfigInfo(String configInfo) {
        this.configInfo = configInfo;
    }

    public String getConfigIcon() {
        return configIcon;
    }

    public void setConfigIcon(String configIcon) {
        this.configIcon = configIcon;
    }

    public Integer getConfigStatus() {
        return configStatus;
    }

    public void setConfigStatus(Integer configStatus) {
        this.configStatus = configStatus;
    }
}